package day05.sub;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @title: A
 * @author: lbj
 * @date: 2022/5/3 9:42 上午
 * @description: TODO 类描述
 */

@Component
class A {

    private static final Logger log = LoggerFactory.getLogger("A");
    private B b;

    public A(B b){
        log.debug("A(B b) {}",b.getClass());
        this.b = b;
    }

    @PostConstruct
    public void init(){
        log.debug("A init()");
    }

}
